#set($title = "$display.alt($!domain.info('userList'),'myForum')")
#parse("/home/parseHeader.html")
<div id="nav">
    <span id="navSpan"><a href="/">$!domain.domain</a></span>
    &raquo;&nbsp;$title 
</div>
<div class="container" style="padding-bottom:0px">
<div class="mainbox">
<h1>会员列表</h1>
<table cellspacing="0" cellpadding="0">
  <thead>
  <tr>
    <td width="12%">用户名</td>
    <td width="12%">昵称</td>
    <td width="10%">性别</td>
    <td width="12%">用户级别</td>
    <td width="20%">上次访问</td>
    <td width="10%">积分</td>
    <td width="10%">帖子数</td>
    <td width="14%">注册日期</td>
  </tr></thead>
  <tbody>
		  #foreach($user in $users)
  <tr>
  	
    <td><a href="/members/$user.userid" target="_blank">$user.userid</a></td>
    <td>$!user.nickname</td>
    <td>#gender($!user.gender)</td>
    <td>$!group.groupName("$!user.groupid")</td>
    <td>$date.format("yyyy-MM-dd HH:mm:ss",$!user.lastvisited)</td>
    <td>$user.credits</td>
    <td>$user.posts</td>
    <td>$date.format("yyyy-MM-dd HH:mm:ss",$!user.createtime)</td>
  </tr>
  
  #end

  
</tbody></table></div>
#parse("/userList/_filter.html")
 #if ($null.isNull($users) || $users.size()==0)
 #else
    #if($pageCount==1)
    #else
    #parse("/board/_pager.html")
    #end
#end
</div>
<script type="text/javascript">
	var pagesCount =$pageCount;
	var pageIndex=$pageIndex;
</script>
#includeJs(["jquery.jqpagination.min","userList/userList"])
#includeCss(["jqpagination"])